#!/usr/bin/env python
bld.SAMBA_LIBRARY('gensec',
	source='gensec.c gensec_start.c gensec_util.c',
	autoproto='gensec_toplevel_proto.h',
	public_deps='tevent-util samba-util samba-errors auth_system_session samba-modules gensec_util asn1util',
	private_headers='gensec.h',
	deps='com_err',
	private_library=True,
	)

bld.SAMBA_MODULE('gensec_spnego',
	source='spnego.c',
	subsystem='gensec',
	init_function='gensec_spnego_init',
	deps='asn1util samba-credentials SPNEGO_PARSE'
	)

bld.SAMBA_MODULE('gensec_schannel',
	source='schannel.c',
	subsystem='gensec',
	init_function='gensec_schannel_init',
	deps='COMMON_SCHANNEL NDR_SCHANNEL samba-credentials auth_session GNUTLS_HELPERS'
	)

bld.SAMBA_MODULE('gensec_ncalrpc',
	source='ncalrpc.c',
	subsystem='gensec',
	init_function='gensec_ncalrpc_as_system_init',
	deps='samba-util auth_session'
	)

bld.SAMBA_MODULE('gensec_external',
	source='external.c',
	subsystem='gensec',
	deps='samba-debug talloc tevent tevent-util',
	init_function='gensec_external_init'
	)
